package com.server.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.server.api.dto.${className}DTO;

/**
* @Description: ${tableComment}业务层接口
* @Author: wuming
*/
public interface ${className}Service extends IService<${className}DTO> {

    /**
    * 默认分页方法
    * @param ${unClassName}DTO
    * @return
    */
    Page<${className}DTO> basePage(${className}DTO ${unClassName}DTO);

    /**
    * 根据DTO对象中的条件查询单个对象
    * @param ${unClassName}DTO
    * @return
    */
    ${className}DTO find(${className}DTO ${unClassName}DTO);

}
